{extend name='layout' /}
{block name='title'}
添加照片
{/block}
{block name="subTitle"}添加照片{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__HTP____URL__/public/static/css/admin/form.css">
{/block}
{block name="action"}__ROOT__/index.php/admin/album/insertPic{/block}
{block name='content'}
<script type="text/javascript">
        function doing(){
               return true;
        }
        $(function(){
        });
    </script>
<div class="mob-page-log
	<div class="page-content">
		<div class="center-content register-content">
			<h1>添加照片</h1>
			<div class="tips" style="height: 42px;">
		    	<div class="alert">*相片链接不能为空</div>
			</div>
    		<div class="login-content">
                <form method="POST" action="__HTP____URL__/admin/album/insertPic" accept-charset="UTF-8" class="login-form mob-form" onsubmit=""><input name="_token" type="hidden">
                	<div class="mob-input-content">               
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-user"></i>
                        	</label>
                        	<input type="text" class="mob-input" placeholder="请输入照片名称" id="name" name="name">
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-usrn">
                                    请输入照片名称
                            </span>
                    	</div>
                   		<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="link" id="link" class="mob-input" placeholder="请输入链接">
                        	<span class="imsg msg-info">
                                <span>请输入链接</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="small_link" id="small_link" class="mob-input" placeholder="请输入缩略图链接">
                        	<span class="imsg msg-info">
                                <span>请输入缩略图的后缀</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="type" id="type" class="mob-input" placeholder="请输入照片类型">
                        	<span class="imsg msg-info">
                                <span>请输入照片类型</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="address" id="address" class="mob-input" placeholder="请输入照片拍摄城市">
                        	<span class="imsg msg-info">
                                <span>请输入照片拍摄城市</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="device" id="device" class="mob-input" placeholder="请输入拍摄照片的设备">
                        	<span class="imsg msg-info">
                                <span>请输入拍摄照片的设备</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="time" id="time" class="mob-input" placeholder="请输入照片拍摄时间,格式 20160606/201606">
                        	<span class="imsg msg-info">
                                <span>请输入照片拍摄时间,格式20160606/201606</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>

                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="note" id="note" class="mob-input" placeholder="请输入照片备注">
                        	<span class="imsg msg-info">
                                <span>请输入照片故事</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label"></label>
                        	<button class="mob-btn-origin mob-btn" onclick="return doing()">
                                <i class="anim"></i>
                                添加照片
                            </button>
                    	</div>
                	</div>
                </form>
            </div>
        </div>
	</div>
</div>
{/block}
